package Code3;

public class test1 {
    public static void main(String[] args) {
       GirlFriend gf1 = new GirlFriend();
       gf1.setName("小柳柳");
       gf1.setAge(18);
       gf1.setGender("萌妹子");

        String name = gf1.getName();
        String gender = gf1.getGender();
        int age = gf1.getAge();

        System.out.println(name);
        System.out.println(age);
        System.out.println(gender);

        gf1.eat();
        gf1.sleep();
    }
}

